package cn.xcyy.itcc.constants;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("verifycode.smsregister")
public class SmsCodeConstants {

    private Long interval; // 6000 # 短信验证码间隔时间
    private Long timeout; // 60000 # 短信验证码超时时间
    private Integer codesize; // 6 # 短信验证码个数
    private String smsmessage; // "用户你好，您的验证码是：%s" # 短信提示语
    private String smstitle; // "短信验证码" # 短信验证码标题

}